package com.swsc.xapp.model.geo;

import java.util.List;

/**
 * @Author chencl
 * @Date 2021/6/16 22:36
 * @Version 1.0
 * @Description
 */

public class GeoJson {
    private String type;
    private String name;
    private GeoCrs crs;
    private List<GeoFeature> features;

    public String getType(){
        return null == type ? "FeatureCollection" : type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public GeoCrs getCrs() {
        return crs;
    }

    public void setCrs(GeoCrs crs) {
        this.crs = crs;
    }

    public List<GeoFeature> getFeatures() {
        return features;
    }

    public void setFeatures(List<GeoFeature> features) {
        this.features = features;
    }
}
